package de.breitbeil.samsyncro.lib.domain.fs;

import java.text.SimpleDateFormat;
import java.util.Date;

public class SFile {

    private String name;
    private int size;
    private String unknown;
    private Date created;
    private SimpleDateFormat sdf = new SimpleDateFormat("yyyy:MM:dd HH:mm:ss");
    
    public SFile() {
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public int getSize() {
        return size;
    }
    
    public void setSize(int size) {
        this.size = size;
    }
    
    public Date getCreated() {
        return created;
    }
    
    public void setCreated(Date created) {
        this.created = created;
    }
    
    @Override
    public String toString() {
        return getName()+","+getSize()+","+sdf.format(getCreated());
    }
}
